package com.pub.cloud.system.status.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
/**
 * 
 * @author dengx
 *
 *application.yml
 *#自定义配置项,不能用驼峰命名；需要用-
elasticsearch-props:
  cluster-name: zcm-elasticsearch6.2.4
  scheme: http
  cluster-nodes:
    - 172.10.103.46: 9200
    - 172.10.103.47: 9200
    - 172.10.103.48: 9200
 *
 */
@Component
@Configuration
@ConfigurationProperties(prefix = "linux-os-parm-props")
public class LinuxOsParmConfig {


	//磁盘空间阈值定义
	private int diskAlarmNum;

	public int getDiskAlarmNum() {
		return diskAlarmNum;
	}

	public void setDiskAlarmNum(int diskAlarmNum) {
		this.diskAlarmNum = diskAlarmNum;
	}
	

}
